package Day9.ATM;

public class NoMoneyException extends Exception {
	private double money;//差的钱数
	//自定义异常

	public NoMoneyException(double money) {
		super("账户里没钱，差"+money);
		this.money = money;
	}
	
}
